package com.ccp.dev.qbdms.model;

import java.math.BigDecimal;

import com.ccp.dev.core.basic.model.BaseModel;
import com.ccp.dev.qbdms.annotation.IsAttachment;
import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.Record;

import java.util.Date;

/**
 * 归档成果物单表 w_qbd_tec_achievements
 *
 * @author zhl
 * @date 2020-05-27 09:54:01
 */
@ExpAnnotation(description = "归档成果物单表")
@ImpAnnotation(description = "归档成果物单表")
@FlowSubject(subjectName = "归档成果物单表")
public class WQbdTecAchievements extends BaseModel<WQbdTecAchievements> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 类别
     */
    @Record(value = "类别")
    @ImpAnnotation(description = "类别",isRequired = true)
    @ExpAnnotation(description = "类别")
    private String fCategory;
    /**
     * 编写人或单位
     */
    @Record(value = "编写人或单位")
    @ImpAnnotation(description = "编写人或单位",isRequired = true)
    @ExpAnnotation(description = "编写人或单位")
    private String fCompilingperson;
    /**
     * 成果物名称
     */
    @Record(value = "成果物名称")
    @ImpAnnotation(description = "成果物名称",isRequired = true)
    @ExpAnnotation(description = "成果物名称")
    private String fAchievementname;
    /**
     * 附件
     */
    @Record(value = "附件")
    @IsAttachment
    private String fEnclosure;
    /**
     * 排序
     */
    private Long sort;
    /**
     * 外键
     */
    private String refid;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getfCategory() {
        return this.fCategory;
    }

    public void setfCategory(String fCategory) {
        this.fCategory = fCategory;
    }

    public String getfCompilingperson() {
        return this.fCompilingperson;
    }

    public void setfCompilingperson(String fCompilingperson) {
        this.fCompilingperson = fCompilingperson;
    }

    public String getfAchievementname() {
        return this.fAchievementname;
    }

    public void setfAchievementname(String fAchievementname) {
        this.fAchievementname = fAchievementname;
    }

    public String getfEnclosure() {
        return this.fEnclosure;
    }

    public void setfEnclosure(String fEnclosure) {
        this.fEnclosure = fEnclosure;
    }

    public Long getSort() {
        return this.sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getRefid() {
        return this.refid;
    }

    public void setRefid(String refid) {
        this.refid = refid;
    }

    @Override
    public String toString() {
        return "WQbdTecAchievements{" +
                "id='" + id + "'," +
                "fCategory='" + fCategory + "'," +
                "fCompilingperson='" + fCompilingperson + "'," +
                "fAchievementname='" + fAchievementname + "'," +
                "fEnclosure='" + fEnclosure + "'," +
                "sort='" + sort + "'," +
                "refid='" + refid + "'" +
                '}';
    }

}
